package com.service;

import com.pojo.Teacher;

import java.util.List;

/**
 * @description teacher
 * @author 
 * @date 2022-12-19
 */
public interface TeacherService {

    /**
    * 新增
    */
    public Object insert(Teacher teacher);

    /**
    * 删除
    */
    public Object delete(int id);

    /**
    * 更新
    */
    public Object update(Teacher teacher);


    /**
    * 分页查询
    */
    public List pageList(int pageNum, int pageSize);

}